home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / dev / gg / gengetopt-2.6.lha / gengetopt-2.6 / doc / cxxconfig.h < prev    next >
Text File  |  2001-02-09  |  340b  |  11 lines

  1. /*
  2.   This is a little work around: if the C compiler does not support const
  3.   "const" would be define as an empty string and this would not make the C++
  4.   compiler work (where const is a keyword). So if const for C compiler does
  5.   not work we still keep const for C++ compiler.
  6. */
  7.  
  8. #ifdef __cplusplus
  9. #undef const 
  10. #endif /* __cplusplus */
  11.